package com.wicket.okrbff.biz.service.dto.common;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;

/**
 * @desc BffApplexConfRelDto
 * @使用场景
 */
@Data
public class BffApplexConfRelDto implements Serializable {

    /**
     * 应用实例类型:
     */
    @ApiModelProperty("应用实例类型")
    private String applexType;

    /**
     * 应用实例ID:
     */
    @ApiModelProperty("应用实例ID")
    private String applexId;


/**
     * 对象名称 
     */
    @ApiModelProperty("对象名称")
    private String	 objectName;
/**
     * 应用实例配置关系ID 
     */
    @ApiModelProperty("应用实例配置关系ID")
    private String	 applexRelId;

    /**
     * 应用对象类型 TENANT_SPACE:租户空间 ORG:组织 EVA_THEME:评价主题 EVA_TEMP:评价模板
     */
    @ApiModelProperty("应用对象类型")
    private String	 applObjType;

    @Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      BffApplexConfRelDto that = (BffApplexConfRelDto) o;
      return  applexType == that.applexType&&applexId == that.applexId&&objectName == that.objectName&&applexRelId == that.applexRelId&&applObjType == that.applObjType;
    }

    @Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), applexType,applexId,objectName,applexRelId,applObjType);
    }

}
